package com.wsoft.form.dto;

import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 自定义表单-设计表
 * </p>
 *
 * @author Z001
 * @since 2024年08月29日 09:11:06
 */
@Getter
@Setter
@ToString
@Schema(name = "WfFormDesignEntity", description = "自定义表单-设计表")
public class WfFormDesignDTO extends BaseEntity {

    @Schema(description = "页面id")
    private Long formId;

    @NotBlank
    @Schema(description = "表单编码")
    private String formDesignCode;

    @NotBlank
    @Schema(description = "表单名称")
    private String formDesignName;

    @Schema(description = "表单类型")
    private Integer formDesignType;

    @Schema(description = "表单主表id")
    private Long tableId;

    @Schema(description = "表单组件JSON")
    private String pageVue;

    @Schema(description = "表单参数JSON")
    private String paramsJson;
}
